<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">
        <title>个人中心</title>
        <link href="__MZUI__/css/admin.css" rel="stylesheet" type="text/css">
        <link href="__MZUI__/css/amazeui.css" rel="stylesheet" type="text/css">
        <link href="__CSS__/user/personal.css" rel="stylesheet" type="text/css">
        <link href="__CSS__/user/systyle.css" rel="stylesheet" type="text/css">
        <link href="__CSS__/common.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <!--头 -->
    <include file="Include/top" />
    <include file="Include/header" />
    <div class="center">
        <div class="col-main">
            <div class="main-wrap">
                <div class="wrap-left">
                    <div class="wrap-list">
                        <div class="m-user">
                            <!--个人信息 -->
                            <div class="m-bg"></div>
                            <div class="m-userinfo">
                                <div class="m-baseinfo">
                                    <a href="information.html">
                                        <img src="__IMG__/user/getAvatar.do.jpg">
                                    </a>
                                    <em class="s-name">({$Think.session.user_name})<span class="vip1"></em>
                                    <div class="s-prestige am-btn am-round">
                                        </span>会员福利</div>
                                </div>
                                <div class="m-right">
                                    <div class="m-new">
                                        <a href="news.html"><i class="am-icon-bell-o"></i>消息</a>
                                    </div>
                                    <div class="m-address">
                                        <a href="{:U('Address/index')}" class="i-trigger">我的收货地址</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!--订单 -->
                        <div class="m-order">
                            <div class="s-bar">
                                <i class="s-icon"></i>我的订单
                                <a class="i-load-more-item-shadow" href="{:U('Order/index')}">全部订单</a>
                            </div>
                            <ul>
                                <li><a href="order.html"><i><img src="__IMG__/user/pay.png"/></i><span>待付款<em class="m-num">{$waitPay}</em></span></a></li>
                                <li><a href="order.html"><i><img src="__IMG__/user/send.png"/></i><span>待发货<em class="m-num">{$waitSend}</em></span></a></li>
                                <li><a href="order.html"><i><img src="__IMG__/user/receive.png"/></i><span>待收货<em class="m-num">{$waitConfirm}</em></span></a></li>
                                <li><a href="order.html"><i><img src="__IMG__/user/comment.png"/></i><span>待评价<em class="m-num">{$waitRate}</em></span></a></li>
                                <li><a href="change.html"><i><img src="__IMG__/user/refund.png"/></i><span>退换货</span></a></li>
                            </ul>
                        </div>
                        <!--九宫格-->
                        <div class="user-patternIcon">
                            <div class="s-bar">
                                <i class="s-icon"></i>我的常用
                            </div>
                            <ul>
                                <a href="../home/shopcart.html"><li class="am-u-sm-4"><i class="am-icon-shopping-basket am-icon-md"></i><img src="__IMG__/user/iconbig.png"/><p>购物车</p></li></a>
                                <a href="collection.html"><li class="am-u-sm-4"><i class="am-icon-heart am-icon-md"></i><img src="__IMG__/user/iconsmall1.png"/><p>我的收藏</p></li></a>
                                <a href="../home/home.html"><li class="am-u-sm-4"><i class="am-icon-gift am-icon-md"></i><img src="__IMG__/user/iconsmall0.png"/><p>为你推荐</p></li></a>
                                <a href="comment.html"><li class="am-u-sm-4"><i class="am-icon-pencil am-icon-md"></i><img src="__IMG__/user/iconsmall3.png"/><p>好评宝贝</p></li></a>
                                <a href="foot.html"><li class="am-u-sm-4"><i class="am-icon-clock-o am-icon-md"></i><img src="__IMG__/user/iconsmall2.png"/><p>我的足迹</p></li></a>                                                                        
                            </ul>
                        </div>
                        <!--物流 -->
                        <div class="m-logistics">

                            <div class="s-bar"><i class="s-icon"></i>我的物流</div>
                            <div class="s-content">
                                <ul class="lg-list">
                                    <foreach item="v" name="order">
                                    <li class="lg-item">
                                        <div class="item-info">
                                            <a href="#"><img src="{$v['order_goods']['goods_image']}" alt="{$v['order_goods']['goods_title']}" /></a>
                                        </div>
                                        <div class="lg-info">
                                            <p>快件已从 义乌 发出</p>
                                            <time>2015-12-20 17:58:05</time>
                                            <div class="lg-detail-wrap">
                                                <a class="lg-detail i-tip-trigger" href="{:U('Order/express',array('key'=>$v['order_id']))}">查看物流明细</a>
                                                <div class="J_TipsCon hide">
                                                    <div class="s-tip-bar">中通快递&nbsp;&nbsp;&nbsp;&nbsp;运单号：373269427686</div>
                                                    <div class="s-tip-content">
                                                        <ul>
                                                            <li>快件已从 义乌 发出2015-12-20 17:58:05</li>
                                                            <li>义乌 的 义乌总部直发车 已揽件2015-12-20 17:54:49</li>
                                                            <li class="s-omit"><a data-spm-anchor-id="a1z02.1.1998049142.3" target="_blank" href="#">··· 查看全部</a></li>
                                                            <li>您的订单开始处理2015-12-20 08:13:48</li>
                                                        </ul>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="lg-confirm">
                                            <a class="i-btn-typical" href="{:U('Order/details',array('key'=>$v['order_sn']))}">确认收货</a>
                                        </div>
                                    </li>
                                    <div class="clear"></div>
                                    </foreach>
                                </ul>
                            </div>
                        </div>

                        <!--收藏夹 -->
                        <div class="you-like">
                            <div class="s-bar">我的收藏</div>
                            <div class="s-content">
                                <foreach item="v" name="fav">
                                <div class="s-item-wrap">
                                    <div class="s-item">

                                        <div class="s-pic">
                                            <a href="#" class="s-pic-link">
                                                <img src="{$v['goods']['goods_thumb']}!400x400" height="186" width="186" alt="{$v['goods']['goods_title']}" title="{$v['goods']['goods_title']}" class="s-pic-img s-guess-item-img">
                                            </a>
                                        </div>
                                        <div class="s-price-box">
                                            <span class="s-price"><em class="s-price-sign">¥</em><em class="s-value">{$v['goods']['goods_price']}</em></span>
                                            <span class="s-history-price"><em class="s-price-sign">¥</em><em class="s-value">{$v['goods']['goods_price']}</em></span>
                                        </div>
                                        <div class="s-title"><a href="#" title="{$v['goods']['goods_title']}">{$v['goods']['goods_title']}</a></div>
                                    </div>
                                </div>
                                </foreach>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="wrap-right">
                    <!-- 日历-->
                    <div class="day-list">
                        <div class="s-bar">
                            <a class="i-history-trigger s-icon" href="#"></a>我的日历
                            <a class="i-setting-trigger s-icon" href="#"></a>
                        </div>
                        <div class="s-care s-care-noweather">
                            <div class="s-date">
                                <em><?php echo date("d",NOW_TIME)?></em>
                                <span><?php echo get_week(date("Y-m-d",NOW_TIME))?></span>
                                <span><?php echo date("Y-m",NOW_TIME)?></span>
                            </div>
                        </div>
                    </div>
                    <!--新品 -->
                    <div class="new-goods">
                        <div class="s-bar"><i class="s-icon"></i>今日新品</div>
                        <div class="new-goods-info">
                            <foreach item='v' name='newGoods'>
                            <a class="shop-info" href="#" target="_blank">
                                <div class="face-img-panel">
                                    <img src="{$v['goods_thumb']}" alt="">
                                </div>
                                <span class="shop-title">{$v['goods_price']}</span>
                            </a>
                            </foreach>
                        </div>
                    </div>

                    <!--热卖推荐 -->
                    <div class="new-goods">
                        <div class="s-bar"><i class="s-icon"></i>热卖推荐</div>
                        <div class="new-goods-info">
                            <foreach item='v' name='newGoods'>
                            <a class="shop-info" href="#" target="_blank">
                                <div ><img src="{$v['goods_thumb']}" alt=""></div>
                                <span class="one-hot-goods">￥{$v['goods_price']}</span>
                            </a>
                            </foreach>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <include file="Include/navigation" />
    </div>
    <include file="Include/footer" />
    <!--引导 -->
    <div class="navCir">
        <li><a href="../home/home.html"><i class="am-icon-home "></i>首页</a></li>
        <li><a href="../home/sort.html"><i class="am-icon-list"></i>分类</a></li>
        <li><a href="../home/shopcart.html"><i class="am-icon-shopping-basket"></i>购物车</a></li>	
        <li class="active"><a href="index.html"><i class="am-icon-user"></i>我的</a></li>					
    </div>
</body>
</html>